/**
 * file: dao/article.js
 * description:   文章模块Dao处理层
 * author : [" t_fate@163.com "]
 * date : 2014/3/8
 */
var articleDao = {};

/**
 * name: insert
 * description: 添加文章   
 * author : [" t_fate@163.com "]
 * date : 2014/3/8
 */
articleDao.insert = function(opt){
    
}

/**
 * name: delRowById
 * description: 根据ID删除一篇文章
 * author : [" t_fate@163.com "]
 * date : 2014/3/8
 */
articleDao.delRowById = function(aid){

}

/**
 * name: updateRowById
 * description: 根据ID更新一篇文章
 * author : [" t_fate@163.com "]
 * date : 2014/3/8
 */
articleDao.updateRowById = function(aid, opt){

}

/**
 * name: queryRowById
 * description:   根据ID查询一条记录
 * author : [" t_fate@163.com "]
 * date : 2014/3/8
 */
articleDao.queryRowById = function(aid){

}

/**
 * name: queryAll
 * description:  查询所有记录【带分页】 
 * author : [" t_fate@163.com "]
 * date : 2014/3/8
 */
articleDao.queryAll = function(opt){

}

/**
 * name: queryCount
 * description:   查询记录总条数
 * author : [" t_fate@163.com "]
 * date : 2014/3/8
 */
articleDao.queryCount = function(opt){

}

module.exports = articleDao;